What is mulligan definition?

In golf, the term "mulligan" is used to refer to an extra shot allowed to a player in certain circumstances, mostly when the first shot was poorly played or an unfair obstacle interfered with it. Mulligans are not officially allowed in the rules of golf but are often informally permitted among recreational players. The origin of the term is unclear, but it is believed to have originated from a Canadian golfer named David Bernard Mulligan, who reportedly coined the term in the 1920s. The use of mulligans as a formal part of the game is not accepted in competitive play.